package com.bg.print.variable;

import lombok.Getter;

public class MaterialValue {

    @Getter
    public enum isListed{
        GROUNDING(1, "上架"),
        UNDERCARRIAGE(0, "下架");
        final Integer code;
        final String msg;

        isListed(Integer code, String msg) {
            this.code = code;
            this.msg = msg;
        }
    }

    @Getter
    public enum stockStatus{
        OUT_OF_STOCK(0, "无货"),
        AVAILABLE(1, "有货");
        final Integer code;
        final String msg;

        stockStatus(Integer code, String msg) {
            this.code = code;
            this.msg = msg;
        }
    }

}
